package com.topjia.music.common.enums;

public class FileEnums {
    /**
     * 文件上传管理
     */
    public enum FileClientEnum {
        /**
         * 阿里OSS
         */
        OSS("OSS", "阿里云OSS"),
        /**
         * 华为OBS
         */
        OBS("OBS", "华为云OBS");

        private String code;

        private String desc;

        FileClientEnum(String code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public String getCode() {
            return code;
        }

        public String getDesc() {
            return desc;
        }
    }

    public enum FileBizTypeEnum {
        /**
         * 用户文件目录
         */
        USER("user", "用户文件目录");

        private String code;

        private String desc;

        FileBizTypeEnum(String code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public String getCode() {
            return code;
        }

        public String getDesc() {
            return desc;
        }
    }
}
